<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, maximum-scale=1, user-scalable=no" charset="UTF-8">
    <link rel="stylesheet" href="android_asset://css/style.css"/>
    <link rel="stylesheet" href="android_asset://css/font.css"/>
    <title>设备信息</title>
</head>
<body>
    <div class="equipment">
        <div class="clearfix borderbot">
            <p class="left">换上件</p>
            <ul>
            {% for attachment in partsAttachmentList %}
            	{% if attachment.type == 4 %}
              <li><img src={{attachment.original}} onclick="msAndroid.pictureOpena(this,'{{attachment.original}}')"></li>
               	{% endif %}
			{% endfor %}  
			{% for parts in ticketPartsList %}
            	{% if parts.isNew == true %}
              <li><img src="android_asset://file.png" onclick="msAndroid.get('/tickets/{{ticketid}}/parts/{{parts.partsnum}}')"></li>
               	{% endif %}
			{% endfor %} 
			</ul>
		</div>
   
        <div class="clearfix">
            <p class="left">换下件</p>
            <ul>
            {% for attachment in partsAttachmentList %}
            	{% if attachment.type == 5 %}
              	<li><img src={{attachment.original}} onclick="msAndroid.pictureOpena(this,'{{attachment.original}}')"></li>
               	{% endif %}
			{% endfor %}  
			{% for parts in ticketPartsList %}
            	{% if parts.isNew == false %}
                <li><img src="android_asset://file.png" onclick="msAndroid.get('/tickets/{{ticketid}}/parts/{{parts.partsnum}}')"></li>
               	{% endif %}
			{% endfor %} 
			</ul>
        </div>
   	</div>
</body>
<script src="android_asset://jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="android_asset://jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script src="android_asset://jquery.touchSwipe.min.js" type="text/javascript"></script>
<script src="android_asset://bridge.js" type="text/javascript"></script>
<script src="android_asset://android.js" type="text/javascript"></script>
</html>